﻿<%@ Page Title="" Language="C#" MasterPageFile="~/Admin/MasterPageAdmin.master" AutoEventWireup="true" CodeFile="Add_news.aspx.cs" Inherits="Admin_Add_news" %>

<%@ Register assembly="FredCK.FCKeditorV2" namespace="FredCK.FCKeditorV2" tagprefix="FCKeditorV2" %>

<asp:Content ID="Content1" ContentPlaceHolderID="head" Runat="Server">
    <style type="text/css">
        .style8
        {
            color: #66CCFF;
            font-weight: bold;
        }
        .style9
        {
            color: #66CCFF;
            font-weight: bold;
            text-align: right;
        }
    </style>
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder1" Runat="Server">
    <table class="style7">
    <tr>
        <td colspan="3" style="text-align: center">
            <asp:Label ID="Label6" runat="server" 
                style="font-size: xx-large; font-weight: 700; color: #CC9900" Text="ADD NEWS"></asp:Label>
        </td>
    </tr>
    <tr>
        <td class="style9" valign="top">
                            <asp:Label ID="Label1" runat="server" Text="Title" CssClass="style8"></asp:Label>
                        </td>
        <td class="style9" valign="top">
                            &nbsp;</td>
        <td>
                            <asp:TextBox ID="txtTitle" runat="server"></asp:TextBox>
                        </td>
    </tr>
    <tr>
        <td class="style9" valign="top">
                            <asp:Label ID="Label2" runat="server" Text="Content" CssClass="style8"></asp:Label>
                        </td>
        <td class="style9" valign="top">
                            &nbsp;</td>
        <td>
                            <FCKeditorV2:FCKeditor ID="FCKeditor1" runat="server" Height="400px">
                            </FCKeditorV2:FCKeditor>
                        </td>
    </tr>
    <tr>
        <td class="style9">
                            <asp:Label ID="Label3" runat="server" Text="Published" CssClass="style8"></asp:Label>
                        </td>
        <td class="style9">
                            &nbsp;</td>
        <td>
                            <asp:DropDownList ID="ddlPublish" runat="server">
                                <asp:ListItem Enabled="False"></asp:ListItem>
                                <asp:ListItem Value="0">Unpublished</asp:ListItem>
                                <asp:ListItem Value="1">Published</asp:ListItem>
                            </asp:DropDownList>
                        </td>
    </tr>
    <tr>
        <td class="style9">
                            <asp:Label ID="Label4" runat="server" Text="Creator ID" CssClass="style8"></asp:Label>
                        </td>
        <td class="style9">
                            &nbsp;</td>
        <td>
                            <asp:DropDownList ID="ddlCreatorID" runat="server">
                                <asp:ListItem Enabled="False" Selected="True"></asp:ListItem>
                                <asp:ListItem Value="1">Administrator</asp:ListItem>
                                <asp:ListItem Value="2">Staff</asp:ListItem>
                            </asp:DropDownList>
                        </td>
    </tr>
    <tr>
        <td class="style9" valign="top">
                            <asp:Label ID="Label5" runat="server" Text="Created date" CssClass="style8"></asp:Label>
                        </td>
        <td class="style9" valign="top">
                            &nbsp;</td>
        <td>
                            <asp:Calendar ID="cldCreatdate" runat="server"></asp:Calendar>
                        </td>
    </tr>
    <tr>
        <td>
                            &nbsp;</td>
        <td>
                            &nbsp;</td>
        <td>
                            &nbsp;</td>
    </tr>
    <tr>
        <td>
            <asp:Label ID="lblMsg" runat="server" style="color: #FF0000"></asp:Label>
        </td>
        <td>
            &nbsp;</td>
        <td>
            <asp:Button ID="Button1" runat="server" onclick="Button1_Click" Text="Add" />
        </td>
    </tr>
</table>
</asp:Content>

